<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/rp/common/taglib.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html lang="cn">
  <head>
    <base href="<%=basePath%>">
    
    <title>编辑icons.css文件</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	
	<script src="rp/scripts/boot.js" type="text/javascript"></script>
	
	<style type="text/css">
	   	
    </style>
	
  </head>
  
  <body class="body-p5">
  	
  	<form id="form1">
  		<textarea id="textarea1" class="mini-textarea" 
  			style="width: 100%; height: 480px;"></textarea>
  		<a class="mini-button" iconCls="icon-save" onclick="saveForm()">保存</a>
  	</form>
  	
  	
	<script type="text/javascript">
		$(function(){
			rp_ajax("rp/system/baseData/iconMng/getIconsCssFileContent",{},function(text){
				mini.get("textarea1").setValue(text);
			});
		});
		
		function saveForm(){
			var newContent = $("#textarea1").val();
			rp_ajax("");
		}
		
	</script>
  </body>
</html>
